docs: Sync up debug flag information
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 00:41:48 +0000 (20:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 May 2021 00:46:59 +0000 (20:46 -0400)
docs/reference/gtk/running.md
gtk/gtkdebug.h

index bd798341d21306c8929cc1b1ec4e0e3646b753de..924c5b344fdd3adea458ced96ceb2be15c811074 100644 (file)
@@ -22,20 +22,26 @@ are only available when GTK has been configured with `-Ddebug=true`.
 `builder`
 : GtkBuilder support
 
+`builder-objects`
+: Unused GtkBuilder objects
+
 `geometry`
 : Size allocation
 
 `icontheme`
 : Icon themes
 
+`iconfallback`
+: Information about icon fallback
+
 `keybindings`
-: Keybindings
+: Keyboard shortcuts
 
 `modules`
-: Loading of modules
+: Modules and extensions
 
 `printing`
-: Printing support
+: Printing
 
 `size-request`
 : Size requests
@@ -46,6 +52,15 @@ are only available when GTK has been configured with `-Ddebug=true`.
 `tree`
 : Tree widget internals
 
+`constraints`
+: Constraints and the constraint solver
+
+`layout`
+: Layout managers
+
+`acccessibility`
+: Accessibility state changs
+
 A number of keys are influencing behavior instead of just logging:
 
 `interactive`
@@ -57,15 +72,6 @@ A number of keys are influencing behavior instead of just logging:
 `touchscreen`
 : Pretend the pointer is a touchscreen device
 
-`updates`
-: Visual feedback about window updates
-
-`resize`
-: Highlight resizing widgets
-
-`layout`
-: Show layout borders
-
 `snapshot`
 : Include debug render nodes in the generated snapshots
 
index 4a10c96cffd64316301684d12ba764fd7b5c74e0..6bd9d98d005767eeb95d62fa2a97da15b101f556 100644 (file)
 
 G_BEGIN_DECLS
 
+/**
+ * GtkDebugFlags:
+ * @GTK_DEBUG_TEXT: Information about GtkTextView
+ * @GTK_DEBUG_TREE: Information about GtkTreeView
+ * @GTK_DEBUG_KEYBINDINGS: Information about keyboard shortcuts
+ * @GTK_DEBUG_MODULES: Information about modules and extensions
+ * @GTK_DEBUG_GEOMETRY: Information about size allocation
+ * @GTK_DEBUG_ICONTHEME: Information about icon themes
+ * @GTK_DEBUG_PRINTING: Information about printing
+ * @GTK_DEBUG_BUILDER: Trace GtkBuilder operation
+ * @GTK_DEBUG_SIZE_REQUEST: Information about size requests
+ * @GTK_DEBUG_NO_CSS_CACHE: Disable the style property cache
+ * @GTK_DEBUG_INTERACTIVE: Open the GTK inspector
+ * @GTK_DEBUG_TOUCHSCREEN: Pretend the pointer is a touchscreen
+ * @GTK_DEBUG_ACTIONS: Information about actions and menu models
+ * @GTK_DEBUG_LAYOUT: Information from layout managers
+ * @GTK_DEBUG_SNAPSHOT: Include debug render nodes in the generated snapshots
+ * @GTK_DEBUG_CONSTRAINTS: Information from the constraints solver
+ * @GTK_DEBUG_BUILDER_OBJECTS: Log unused GtkBuilder objects
+ * @GTK_DEBUG_A11Y: Information about accessibility state changes
+ * @GTK_DEBUG_ICONFALLBACK: Information about icon fallback
+ *
+ * Flags to use with gtk_set_debug_flags().
+ *
+ * Settings these flags causes GTK to print out different
+ * types of debugging information. Some of these flags are
+ * only available when GTK has been configured with `-Ddebug=true`.
+ */
 typedef enum {
   GTK_DEBUG_TEXT            = 1 <<  0,
   GTK_DEBUG_TREE            = 1 <<  1,